branchbefore/main/TimeRange refactor.cancel

7 Commits over 0 Days - ∞cph!

7 Years Ago
Merged from main
7 Years Ago
Time Range Score now takes current hour and current minute, for a smoother score over time.
7 Years Ago
Unit test of Time Range and fixes for the stuff it unveiled.
7 Years Ago
Added an EvaluateSimple function to ResponseCurve API, which only evaluates using the simplest form possible of the curve type specified (only support linear functions and normal distribution right now). Doesn't allow the tweaking of slope, exponential, and hor/vert shifts.
7 Years Ago
Current Time should only add a day if it's hour is less than the start time hour, and the end time day is greater than the start time day.
7 Years Ago
Removed PeakTime from Score and TimeRangeParams. PeakHour is still used, but only by editor.
7 Years Ago
Moved time range functionality over to using DateTime/TimeSpan.